# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=mygnuhealth
pkgver=1.0.5
pkgrel=1
pkgdesc="The GNU Health Personal Health Record (PHR)"
url="https://invent.kde.org/pim/mygnuhealth"
# armhf and riscv64 blocked by py3-pyside2
arch="noarch !armhf !riscv64"
license="GPL-3.0-or-later"
depends="
	kirigami2
	py3-bcrypt
	py3-matplotlib
	py3-pyside2
	py3-requests
	py3-tinydb
	python3
	"
makedepends="py3-setuptools"
subpackages="$pkgname-doc"
source="https://pypi.python.org/packages/source/M/MyGNUHealth/MyGNUHealth-$pkgver.tar.gz"
options="!check" # No tests
builddir="$srcdir/MyGNUHealth-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
ee85eea3d62c5cb2789b595a126b89b679fdcda22f56046d32e1ca02785d57b3620925b0fd15d2fbad024e43f2c9f428de3d8c042557d06a6986b29bb69db178  MyGNUHealth-1.0.5.tar.gz
"
